package com.wang.component;

import com.wang.config.PayUrlConfig;
import com.wang.vo.PayInfoVO;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
@Slf4j
public class WechatPayStrategy implements PayStrategy{
    @Autowired
    private PayUrlConfig payUrlConfig;

    /**
     * 下单
     * @param payInfoVO
     * @return
     */
    @Override
    public String orderPay(PayInfoVO payInfoVO) {
        return "";
    }

    /**
     * 查询订单支付是否成功
     * @param payInfoVO
     * @return
     */
    @Override
    public String queryOrderSuccess(PayInfoVO payInfoVO) {
        return "";
    }

    /**
     * 退款
     * @param payInfoVO
     * @return
     */
    @Override
    public String returnMoney(PayInfoVO payInfoVO) {
        return "";
    }
}
